package com.focusai.efairy.utils;

import com.focusai.efairy.EFApplication;
import com.focusai.efairy.utils.log.Log;
import com.tencent.bugly.crashreport.CrashReport;

/**
 * Created by luo_guangwen on 2017/8/31.
 */

public class BuglyUtils {
    private static final String APPID = "ada04b35bf";

    public static void initBugly() {
         /* Bugly SDK初始化
        * 参数1：上下文对象
        * 参数2：APPID，平台注册时得到,注意替换成你的appId
        * 参数3：是否开启调试模式，调试模式下会输出'CrashReport'tag的日志
        */
        CrashReport.initCrashReport(EFApplication.getContext(), APPID, Log.isDebug());
    }
}
